﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;
using System.Web;
using System.IO;


namespace IHISCETeim.BLL
{
    public class JSDWFController
    {
        public static int Add(JSDWFInfo obj)
        {
            return JSDWFDAL.Add(obj);
        }
        public static bool Delete(Guid DWFID)
        {

            

            return JSDWFDAL.Delete(DWFID);
        }
        public static JSDWFInfo GetByDWFID(Guid DWFID)
        {
            return CBO.FillObject<JSDWFInfo>(JSDWFDAL.GetByDWFID(DWFID));
        }
        public static DataTable GetPagination(string WhereSql, int PageIndex, int PageSize, string Sort, ref int TotalCount)
        {
            return JSDWFDAL.GetPagination(WhereSql, PageIndex, PageSize, Sort, ref TotalCount);            
        }
        public static bool Update(JSDWFInfo obj)
        {
            return JSDWFDAL.Update(obj);
        }
    }
}
